home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 26 / AMIGAplus Sonderheft 26 (2000)(Falke)(DE)(Track 1 of 2)[!].iso / Tools / GFX-Viewer / Animviewer / mpegvideo_datatype / mpegmyassert.h < prev    next >
C/C++ Source or Header  |  1999-03-29  |  423b  |  23 lines

  1.  
  2. /*
  3. **
  4. **  $VER: mpegassert.h 1.11 (30.10.97)
  5. **  mpegvideo.datatype 1.11
  6. **
  7. **  ANSI assert replacement (without abort())
  8. **
  9. **  Written 1996/1997 by Roland 'Gizzy' Mainz
  10. **
  11. */
  12.  
  13. #ifdef assert
  14. #undef assert
  15. #endif /* assert */
  16.  
  17. #ifndef NDEBUG
  18. #define assert(x)  ((void)((!(x))?((int)error_printf( mvid, "assert \"%s\" %s %ld\n", #x, __FILE__, __LINE__ )):(0)))
  19. #else
  20. #define assert(ignore)  ((void) 0)
  21. #endif /* NDEBUG */
  22.  
  23.